package dao.pojo;

import java.util.Date;

public class Branch {
    @Override
	public String toString() {
		return "Branch [id=" + id + ", hotelId=" + hotelId + ", name=" + name + ", createDate=" + createDate + "]";
	}

	private Integer id;

    private Integer hotelId;

    private String name;

    private Date createDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHotelId() {
        return hotelId;
    }

    public void setHotelId(Integer hotelId) {
        this.hotelId = hotelId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}